package com.defangit.production.bll;

import com.defangit.production.domain.ProcessSection;
import laogen.util.entities.Finder;

/**
 * Created by zhangfagen on 2018/6/5.
 */
public interface ProcessBll extends CommonBusinessLogic<ProcessSection> {
    ProcessSection addProcess(ProcessSection processSection);
    ProcessSection updateProcess(ProcessSection processSection);
    boolean deleteProcess(int id);

    ProcessFinder findUsed();
    ProcessFinder findAll();
    public interface ProcessFinder extends Finder<ProcessSection> {
        ProcessFinder used(Boolean used);
    }
}
